#pragma once
#include <string>
#include <iostream>
using namespace std;

class car
{

private:
	string brand;
	int year;
	double price;

public:
	car(void);
	~car(void);
	car(string b, int y, double p);
	void cPrint();
	void cRead();

	string getBrand() {return this->brand;}
	void setBrand(string b) {this->brand = b;}
	int getYear() {return this->year;}
	void getYear(int y) {this->year = y;}
	double getPrice() {return this->price;}
	void getPrice(double p) {this->price = p;}
};

